package com.yk.i_wms.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yk.i_wms.common.model.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 出库单
 *
 * @author hbq
 * @date 2021-04-07 14:20:31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_out_stock_doc")
public class SmsOutStockDoc extends SuperEntity {
    private static final long serialVersionUID=1L;

        @Excel(name = "备料单号")
        @ApiModelProperty(value = "备料单号")
        private String docNo;
        @Excel(name = "单据状态（1，新建 2，入库中 3，关结）")
        @ApiModelProperty(value = "单据状态（1，新建 2，入库中 3，关结）")
        private Integer docState;
        @Excel(name = "灯颜色代码")
        @ApiModelProperty(value = "灯颜色代码")
        private String colorCode;
        @Excel(name = "颜色名")
        @ApiModelProperty(value = "颜色名")
        private String colorName;
        @Excel(name = "是否允许替代料(0，不允许 1，允许)")
        @ApiModelProperty(value = "是否允许替代料(0，不允许 1，允许)")
        private Integer isAllowReplace;
        @Excel(name = "开单人")
        @ApiModelProperty(value = "开单人")
        private String docName;
        @Excel(name = "备注")
        @ApiModelProperty(value = "备注")
        private String remark;
        @Excel(name = "开单日期",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "开单日期")
        private Date docTime;
        @Excel(name = "单据类型（1，工单备料 2，手工备料）")
        @ApiModelProperty(value = "单据类型（1，工单备料 2，手工备料）")
        private Integer docType;
}
